//
//  JSWebCompatibilityMacros.h
//  JsWebDemo
//
//  Created by ac-hu on 2018/7/8.
//  Copyright © 2018年 ac-hu. All rights reserved.
//

#ifndef JSWebCompatibilityMacros_h
#define JSWebCompatibilityMacros_h

#define JSWebSystemVersionVersion [[[UIDevice currentDevice] systemVersion] floatValue]
#define JSWebArgumentToString(macro) #macro
#define JSWebClangWarningConcat(warning_name) JSWebArgumentToString(clang diagnostic ignored warning_name)
#define JSWebWarnDeprecatedStart _Pragma("clang diagnostic push") _Pragma(JSWebClangWarningConcat("-Wdeprecated-declarations"))
#define JSWebWarnDeprecatedEnd _Pragma("clang diagnostic pop")



#endif /* JSWEbCompatibilityMacros_h */
